//
//  SYJiaoCaiViewController.m
//  SanYiTeaching
//
//  Created by 郑浩然 on 2020/2/25.
//  Copyright © 2020年 SanYi. All rights reserved.
//

#import "SYJiaoCaiViewController.h"
#import "SYBackTopView.h"


@interface SYJiaoCaiViewController ()
@property (strong, nonatomic) SYBackTopView *backView;//顶部viwe
@end

@implementation SYJiaoCaiViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    [self.view addSubview:self.backView];
    [self.backView mas_remakeConstraints:^(MASConstraintMaker *make) {
        make.top.left.right.equalTo(self);
        make.height.mas_equalTo(50);
    }];
    
}
//头部
- (SYBackTopView *)backView {
    if (!_backView) {
        _backView = [[SYBackTopView alloc] initWithTitleName:@"创建小组" baseView:self.view];
    }
    return _backView;
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
